package com.zerdoor.service.impl;

import com.zerdoor.dao.HomeDao;
import com.zerdoor.service.HomeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * Created by xiaoji on 2014/10/27.
 */
@Service
public class HomeServiceImpl implements HomeService{
    @Autowired
    private HomeDao homeDao;


    @Override
    public List<Map<String, Object>> getFirstBaseTasktype() {
        return homeDao.getFirstBaseTasktype();
    }

    @Override
    public List<Map<String, Object>> getSecondBaseTasktype() {
        return homeDao.getSecondBaseTasktype();
    }

    @Override
    public List<Map<String, Object>> getThirdBaseTasktype() {
        return homeDao.getThirdBaseTasktype();
    }

    @Override
    public List<Map<String, Object>> getArtAdvert() {
        return homeDao.getArtAdvert();
    }

    @Override
    public Map<String, Object> getArtAboutus() {
        return homeDao.getArtAboutus();
    }

    @Override
    public List<Map<String, Object>> getOngoingBusTaskInfo() {
        return homeDao.getOngoingBusTaskInfo();
    }

    @Override
    public List<Map<String, Object>> getCompleteBusTaskInfo() {
        return homeDao.getCompleteBusTaskInfo();
    }

    @Override
    public List<Map<String, Object>> getUserProduction() {
        return homeDao.getUserProduction();
    }

    @Override
    public List<Map<String, Object>> getRecentlyArtist() {
        return homeDao.getRecentlyArtist();
    }

    @Override
    public List<Map<String, Object>> getCompetitionBusTaskInfo() {
        return homeDao.getCompetitionBusTaskInfo();
    }

    @Override
    public List<Map<String, Object>> getCooperation() {return homeDao.getCooperation();}
}
